desktop_windows
Tests
13 test(s) passed
5 test(s) failed, 1 others
Steps
16 step(s) passed
10 step(s) failed, 82 others
Tests
  • TC01 Jun 24, 2021 11:46:54 AM pass
    Jun 24, 2021 11:46:54 AM Jun 24, 2021 11:47:12 AM 0h 0m 18s+16ms
    User can log into Railway with valid username and password
    Status Timestamp Details
    info_outline 11:46:54 AM 1. Navigate to Railway website
    info_outline 11:46:58 AM 2. Click to Login tab
    info_outline 11:47:02 AM 3. Enter valid email and password
    info_outline 11:47:02 AM 4. Click on "Login" button
    check_circle 11:47:12 AM Test Case TC01: pass
  • TC02 Jun 24, 2021 11:47:21 AM pass
    Jun 24, 2021 11:47:21 AM Jun 24, 2021 11:47:32 AM 0h 0m 10s+664ms
    User can't login with blank Username textbox
    Status Timestamp Details
    info_outline 11:47:21 AM 1. Navigate to Railway website
    info_outline 11:47:27 AM 2. Click on Login tab
    info_outline 11:47:29 AM 3. User does not type any words into Username textbox but enter valid information in Password
    info_outline 11:47:29 AM 4. Click on "Login" button
    check_circle 11:47:32 AM Error message show correctly
    check_circle 11:47:32 AM Test Case TC02: pass
  • TC03 Jun 24, 2021 11:47:34 AM pass
    Jun 24, 2021 11:47:34 AM Jun 24, 2021 11:47:48 AM 0h 0m 13s+706ms
    User cannot log into Railway with invalid password
    Status Timestamp Details
    info_outline 11:47:34 AM 1. Navigate to Railway website
    info_outline 11:47:38 AM 2. Click to Login tab
    info_outline 11:47:46 AM 3. Enter valid Email and invalid Password
    info_outline 11:47:46 AM 4. Click on "Login" button
    check_circle 11:47:48 AM Test Case TC03: pass
  • TC04 Jun 24, 2021 11:47:52 AM pass
    Jun 24, 2021 11:47:52 AM Jun 24, 2021 11:48:40 AM 0h 0m 47s+512ms
    Login page displays when un-logged User clicks on "Book ticket" tab
    Status Timestamp Details
    info_outline 11:47:52 AM 1. Navigate to Railway website
    info_outline 11:48:15 AM 2. Click on BookTicket tab
    check_circle 11:48:40 AM Test Case TC04: pass
  • TC05 Jun 24, 2021 11:48:50 AM pass
    Jun 24, 2021 11:48:50 AM Jun 24, 2021 11:49:19 AM 0h 0m 28s+470ms
    System shows message when user enters wrong password several times
    Status Timestamp Details
    info_outline 11:48:50 AM 1. Navigate to QA Railway Website
    info_outline 11:49:12 AM 2. Click on Login tab
    info_outline 11:49:18 AM 3. Enter valid information into "Username" textbox except "Password" textbox.
    info_outline 11:49:18 AM 4. Click on "Login" button
    info_outline 11:49:18 AM 5. Repeat step 3 three more times.
    check_circle 11:49:19 AM Test Case TC05: pass
  • TC05 Jun 24, 2021 11:49:25 AM pass
    Jun 24, 2021 11:49:25 AM Jun 24, 2021 11:49:44 AM 0h 0m 18s+986ms
    System shows message when user enters wrong password several times
    Status Timestamp Details
    info_outline 11:49:25 AM 1. Navigate to QA Railway Website
    info_outline 11:49:39 AM 2. Click on Login tab
    info_outline 11:49:42 AM 3. Enter valid information into "Username" textbox except "Password" textbox.
    info_outline 11:49:42 AM 4. Click on "Login" button
    info_outline 11:49:42 AM 5. Repeat step 3 three more times.
    check_circle 11:49:44 AM Test Case TC05: pass
  • TC05 Jun 24, 2021 11:49:47 AM pass
    Jun 24, 2021 11:49:47 AM Jun 24, 2021 11:49:56 AM 0h 0m 8s+768ms
    System shows message when user enters wrong password several times
    Status Timestamp Details
    info_outline 11:49:47 AM 1. Navigate to QA Railway Website
    info_outline 11:49:51 AM 2. Click on Login tab
    info_outline 11:49:55 AM 3. Enter valid information into "Username" textbox except "Password" textbox.
    info_outline 11:49:55 AM 4. Click on "Login" button
    info_outline 11:49:55 AM 5. Repeat step 3 three more times.
    check_circle 11:49:56 AM Test Case TC05: pass
  • TC05 Jun 24, 2021 11:50:11 AM pass
    Jun 24, 2021 11:50:11 AM Jun 24, 2021 11:50:46 AM 0h 0m 34s+675ms
    System shows message when user enters wrong password several times
    Status Timestamp Details
    info_outline 11:50:11 AM 1. Navigate to QA Railway Website
    info_outline 11:50:40 AM 2. Click on Login tab
    info_outline 11:50:45 AM 3. Enter valid information into "Username" textbox except "Password" textbox.
    info_outline 11:50:45 AM 4. Click on "Login" button
    info_outline 11:50:45 AM 5. Repeat step 3 three more times.
    check_circle 11:50:46 AM Test Case TC05: pass
  • TC06 Jun 24, 2021 11:50:52 AM fail
    Jun 24, 2021 11:50:52 AM Jun 24, 2021 11:51:16 AM 0h 0m 24s+248ms
    User can log into Railway with valid username and password
    Status Timestamp Details
    info_outline 11:50:52 AM 1. Navigate to Railway website
    info_outline 11:51:10 AM 2. Click to Login tab
    info_outline 11:51:11 AM 3. Enter valid email and password
    info_outline 11:51:11 AM 4. Click on "Login" button
    info_outline 11:51:15 AM Click "My ticket" tab, user will be directed to My ticket page
    cancel 11:51:16 AM Test Case TC06: fail
    cancel 11:51:16 AM Test Case Failed: java.lang.AssertionError: expected [PageObject.Railway.MyTicketPage@65b19e5c] but found [PageObject.Railway.MyTicketPage@6978a32a]
    info_outline 11:51:16 AM Snapshot below: com.aventstack.extentreports.ExtentTest@44e4cf8a
  • TC07 Jun 24, 2021 11:51:29 AM fail
    Jun 24, 2021 11:51:29 AM Jun 24, 2021 11:51:47 AM 0h 0m 17s+758ms
    User can create new account
    Status Timestamp Details
    info_outline 11:51:29 AM 1. Navigate to QA Railway Website
    info_outline 11:51:41 AM 2. Click on Register tab
    info_outline 11:51:45 AM 3. Enter valid information into all fields
    info_outline 11:51:45 AM 4. Click on "Register" button
    cancel 11:51:47 AM Test Case TC07: fail
    cancel 11:51:47 AM Test Case Failed: java.lang.AssertionError: expected [Thank you for registering your account] but found [Please fill the form below to create a new account or login if you already have one. If you already created an account but haven't confirmed it yet, go here and enter the confirmation code which can be found in your email. Please make sure your PID/Passport Number is correct. It can't be changed.]
    info_outline 11:51:47 AM Snapshot below: com.aventstack.extentreports.ExtentTest@17d0d3d7
  • TC09 Jun 24, 2021 11:52:09 AM pass
    Jun 24, 2021 11:52:09 AM Jun 24, 2021 11:52:25 AM 0h 0m 15s+682ms
    User can change password
    Status Timestamp Details
    info_outline 11:52:13 AM 1. Navigate to Railway
    info_outline 11:52:14 AM 2. Login to Railway
    info_outline 11:52:19 AM 3. Click on "Change Password" tab
    info_outline 11:52:19 AM 4. Enter valid value into all fields.
    info_outline 11:52:19 AM 5. Click on "Change Password" button
    check_circle 11:52:25 AM Test Case TC09: pass
  • TC10 Jun 24, 2021 11:52:30 AM pass
    Jun 24, 2021 11:52:30 AM Jun 24, 2021 11:52:55 AM 0h 0m 24s+624ms
    User can't create account with "Confirm password" is not the same with "Password"
    Status Timestamp Details
    info_outline 11:52:30 AM 1. Navigate to QA Railway Website
    info_outline 11:52:51 AM 2. Click on Register tab
    info_outline 11:52:54 AM 3. Enter valid information into all fields except "Confirm password" is not the same with "Password"
    info_outline 11:52:54 AM 4. Click on "Register" button
    check_circle 11:52:55 AM Test Case TC10: pass
  • TC11 Jun 24, 2021 11:52:59 AM pass
    Jun 24, 2021 11:52:59 AM Jun 24, 2021 11:53:17 AM 0h 0m 17s+774ms
    User can't create account while password and PID fields are empty
    Status Timestamp Details
    info_outline 11:52:59 AM 1. Navigate to QA Railway Website
    info_outline 11:53:13 AM 2. Click on Register tab
    info_outline 11:53:15 AM 3. Enter valid information into all fields except Confirm password is not the same with Password
    info_outline 11:53:15 AM 4. Click on "Register" button
    check_circle 11:53:17 AM Test Case TC11: pass
  • TC12 Jun 24, 2021 11:53:23 AM fail
    Jun 24, 2021 11:53:23 AM Jun 24, 2021 11:53:48 AM 0h 0m 25s+37ms
    Errors display when password reset token is blank
    Status Timestamp Details
    info_outline 11:53:43 AM 1. Navigate to Railway
    info_outline 11:53:47 AM 2. Click on "Forgot Password page" link
    cancel 11:53:48 AM Test Case TC12: fail
    cancel 11:53:48 AM Test Case Failed: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//a[@href=/Account/ForgotPassword.cshtml]"} (Session info: MicrosoftEdge=91.0.864.48) For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '3.13.0', revision: '2f0d292', time: '2018-06-25T15:24:21.231Z' System info: host: 'LGDN15017-W10', ip: '192.168.189.148', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '16.0.1' Driver info: org.openqa.selenium.edge.EdgeDriver Capabilities {acceptInsecureCerts: false, browserName: msedge, browserVersion: 91.0.864.48, javascriptEnabled: true, ms:edgeOptions: {debuggerAddress: localhost:61688}, msedge: {msedgedriverVersion: 91.0.864.54 (c789bf186b9667..., userDataDir: C:\Users\SATTDN~1.07\AppDat...}, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true} Session ID: 8050c87ec2d9b33a03e287b868924de5 *** Element info: {Using=xpath, value=//a[@href=/Account/ForgotPassword.cshtml]}
    info_outline 11:53:48 AM Snapshot below: com.aventstack.extentreports.ExtentTest@2fedae96
  • TC13 Jun 24, 2021 11:53:50 AM fail
    Jun 24, 2021 11:53:50 AM Jun 24, 2021 11:54:07 AM 0h 0m 16s+734ms
    Errors display if password and confirm password don't match when resetting password
    Status Timestamp Details
    info_outline 11:54:03 AM 1. Navigate to Railway
    info_outline 11:54:07 AM 2. Click on "Forgot Password page" link
    cancel 11:54:07 AM Test Case TC13: fail
    cancel 11:54:07 AM Test Case Failed: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//a[@href=/Account/ForgotPassword.cshtml]"} (Session info: MicrosoftEdge=91.0.864.48) For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '3.13.0', revision: '2f0d292', time: '2018-06-25T15:24:21.231Z' System info: host: 'LGDN15017-W10', ip: '192.168.189.148', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '16.0.1' Driver info: org.openqa.selenium.edge.EdgeDriver Capabilities {acceptInsecureCerts: false, browserName: msedge, browserVersion: 91.0.864.48, javascriptEnabled: true, ms:edgeOptions: {debuggerAddress: localhost:59990}, msedge: {msedgedriverVersion: 91.0.864.54 (c789bf186b9667..., userDataDir: C:\Users\SATTDN~1.07\AppDat...}, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true} Session ID: 52acb6bf9965c6abd33b6f5f143cb6b2 *** Element info: {Using=xpath, value=//a[@href=/Account/ForgotPassword.cshtml]}
    info_outline 11:54:07 AM Snapshot below: com.aventstack.extentreports.ExtentTest@49aa6081
  • TC14 Jun 24, 2021 11:54:13 AM pass
    Jun 24, 2021 11:54:13 AM Jun 24, 2021 11:54:33 AM 0h 0m 19s+777ms
    User can book 1 ticket at a time
    Status Timestamp Details
    info_outline 11:54:13 AM 1. Navigate to QA Railway Website
    info_outline 11:54:17 AM 2. Login with a valid account
    info_outline 11:54:22 AM 3. Click on "Book ticket" tab
    info_outline 11:54:27 AM 4. Select a "Depart date" from the list
    info_outline 11:54:27 AM 5. Select "Sài Gòn" for "Depart from" and "Nha Trang" for "Arrive at".
    info_outline 11:54:27 AM 6. Select "Soft bed with air conditioner" for "Seat type"
    info_outline 11:54:27 AM 7. Select "1" for "Ticket amount"
    info_outline 11:54:27 AM 8. Click on "Book ticket" button
    check_circle 11:54:33 AM Ticket book successfully
    check_circle 11:54:33 AM Test Case TC14: pass
  • TC15 Jun 24, 2021 11:54:41 AM pass
    Jun 24, 2021 11:54:41 AM Jun 24, 2021 11:55:20 AM 0h 0m 38s+156ms
    User can open "Book ticket" page by clicking on "Book ticket" link in "Train timetable" page
    Status Timestamp Details
    info_outline 11:54:41 AM 1. Navigate to QA Railway Website
    info_outline 11:54:59 AM 2. Login with a valid account
    info_outline 11:55:10 AM 3. Click on "Timetable" tab
    info_outline 11:55:13 AM 4. Click on "book ticket" link of the route from "Huế" to "Sài Gòn"
    check_circle 11:55:20 AM Test Case TC15: pass
  • TC16 Jun 24, 2021 11:55:23 AM fail
    Jun 24, 2021 11:55:23 AM Jun 24, 2021 12:00:24 PM 0h 5m 0s+915ms
    User can cancel a ticket
    Status Timestamp Details
    info_outline 11:55:23 AM 1. Navigate to QA Railway Website
    cancel 12:00:23 PM Test Case TC16: fail
    cancel 12:00:23 PM Test Case Failed: org.openqa.selenium.TimeoutException: timeout: Timed out receiving message from renderer: 296.310 (Session info: MicrosoftEdge=91.0.864.48) Build info: version: '3.13.0', revision: '2f0d292', time: '2018-06-25T15:24:21.231Z' System info: host: 'LGDN15017-W10', ip: '192.168.189.148', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '16.0.1' Driver info: org.openqa.selenium.edge.EdgeDriver Capabilities {acceptInsecureCerts: false, browserName: msedge, browserVersion: 91.0.864.48, javascriptEnabled: true, ms:edgeOptions: {debuggerAddress: localhost:52122}, msedge: {msedgedriverVersion: 91.0.864.54 (c789bf186b9667..., userDataDir: C:\Users\SATTDN~1.07\AppDat...}, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true} Session ID: 39487f17b220cccda2c9c2d45ea3dcd6
    info_outline 12:00:24 PM Snapshot below: com.aventstack.extentreports.ExtentTest@30c98124
info_outline check_circle cancel cancel error warning redo clear
Dashboard
Tests
19
Steps
108
Start
Jun 24, 2021 11:46:42 AM
End
Jun 24, 2021 12:00:25 PM
Time Taken
0h 13m 42s+505ms